package com.example.demo.mapper;

import com.example.demo.common.CommonMapper;
import com.example.demo.entity.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface EmployeeMapper extends CommonMapper<Employee> {
    Employee selectByNameAndPassword(@Param("empNo") String username, @Param("empPassword") String password);

    Employee selectByEmpNo(@Param("empNo") String userId);
}
